Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Don't require alias in public room list. #664

Merged
merged 6 commits into from
Mar 23, 2016

Conversation

erikjohnston
Copy link
Member

Rooms now no longer require an alias to be published.

Also, changes the way we pull out state of each room to not require fetching all state events.

Rooms now no longer require an alias to be published.

Also, changes the way we pull out state of each room to not require
fetching all state events.

name_event = state.get((EventTypes.Name, ""), None)
name_event = yield get_state(EventTypes.Name, "")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is so we don't have to pull in the entire room state for each room? Might be worth adding a comment explaining why we've pick this particular performance trade off.

@erikjohnston
Copy link
Member Author

retest this please

@erikjohnston
Copy link
Member Author

@NegativeMjark PTAL

I'm afraid I added some SQL and a check for JoinRules = Public

@NegativeMjark
Copy link
Contributor

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants